<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<table width="100%" border="1" cellspacing="1" cellpadding="1">
  <tr>
    <td>城市</td>
    <td>操作</td>
  </tr>
  {{section name=city loop=$city}}
  <tr>
    <td>{{$city[city].city_name}}</td>
    <td>
	<a href="{{url controller=$ctrl action='EditCity' city_id=$city[city].city_id}}">编辑</a>/
      {{if $city[city].delete==1}} 
	<a href="{{url controller=$ctrl action='DeleteCity' city_id=$city[city].city_id  state='1'}}">禁用</a> 
	  {{else}} 
	<a href="{{url controller=$ctrl action='DeleteCity' city_id=$city[city].city_id  state='0'}}">启用</a> 
	  {{/if}}</td>
  </tr>
  {{/section}}
</table>
</body>
</html>
